package com.wuhainan.beelzebub.controller.system;

import com.wuhainan.beelzebub.entity.system.AppData;
import com.wuhainan.beelzebub.service.system.AppDataService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <br>Created by 吴海南 on 2017-12-18.
 * <br>星期一 at 上午 10:11.
 */
@RestController
@RequestMapping("api")
public class AppDataController {
    @Resource
    private AppDataService appDataService;

    @RequestMapping("app-data")
    public AppData appData() {
        return appDataService.appData();
    }
}
